   function mntoggleEffect(targeturl, resizetarget, toggleimg) {
    var mnelestyle = xoopsGetElementById(resizetarget).style;
    var mnimgele = xoopsGetElementById(toggleimg);

    if (mnelestyle.display == "block") {
        mnelestyle.display = "none";
         mnimgele.src = targeturl+'/restore.gif';
         mnimgele.alt = 'Click me if you want to restore this block';
      }
      else {
        mnelestyle.display = "block";
         mnimgele.src = targeturl+'/minimize.gif';
         mnimgele.alt = 'Click me if you want to minimize this block';
      }
   }
